import layout from '@/layout'
// export default {
//   path: '/attendance',
//   component: layout,
//   children: [{
//     path: '',
//     name: 'attendance',
//     component: () => import('@/views/attendance'),
//     meta: {
//       title: '调度管理',
//       icon: 'tiaoduling'
//     }
//   }]
// }

export default {
  path: '/attendance',
  component: layout,
  redirect: '/attendance',
  meta: { title: '调度管理', icon: 'tiaoduling' },
  children: [{
    meta: { title: '运输任务管理', icon: 'table' },
    path: 'transport',
    name: 'transport',
    component: () => import('@/views/attendance/components/transport.vue')
  },
  { meta: { title: '线路管理', icon: 'table' },
    path: 'line',
    name: 'line',
    component: () => import('@/views/attendance/components/line.vue')
  },
  {
    meta: { title: '取件作业管理', icon: 'table' },
    path: 'pickup',
    name: 'pickup',
    component: () => import('@/views/attendance/components/pickup.vue')

  }
  ]
}
